package com.xabaison.boot.boot3demo.controller;

import com.nbsaas.boot.rest.response.ResponseObject;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebController {

    @RequestMapping("/index")
    public ResponseObject<String> index(){
       ResponseObject<String> result=new ResponseObject<String>();
        result.setData("hello");
       return result;
    }
}
